package com.ruoyi.mapper;

import com.ruoyi.entity.JrVersion;
import org.apache.ibatis.annotations.Delete;

public interface VersionMapper {
    int insertVersion(JrVersion version);

    @Delete("DELETE FROM jr_version WHERE file_id = #{fileId}")
    void deleteVersionsByFileId(Long fileId);}
